import "../static/css/reset.css";
import "../static/js/jquery-ui.min";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import ajax from "./api/ajax";
import "./assets/icons/symbolIconfont.js";
import utils from "../utils/utils.js";

import Icon from "./components/common/icon.vue";

import { createApp } from "vue";
import App from "./App.vue";
// import router from "./router";
import store from "./vuex/store.js";

// 1. 引入你需要的组件
import { Step, Steps, Tab, Tabs, Switch } from "vant";
// 2. 引入组件样式
import "vant/lib/index.css";

const vm = createApp(App);
vm.config.globalProperties.$ajax = ajax;
vm.config.globalProperties.$utils = utils;
vm.use(ElementPlus)
  .use(store)
  .use(Tab)
  .use(Switch)
  .use(Tabs)
  .use(Step)
  .use(Steps)
  .component("Icon", Icon)
  .mount("#app");
